package com.example.qguserprovider.service.impl;

import com.example.qguserprovider.mapper.UserMapper;
import com.example.qguserprovider.service.UserService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.Map;
@Service
@Transactional
public class UserServiceImpl  implements UserService {

    @Resource
    private UserMapper mapper;

    @Override
    public Map getByPhonePwd(Map map) {
        return mapper.getByPhonePwd( map );
    }

    @Override
    public Map getByPhone(String phone) {
        return mapper.getByPhone( phone );
    }
}
